//
//  BVAnnotationView.m
//  BVHomeScene
//
//  Created by xiute on 2019/10/16.
//

#import "BVAnnotationView.h"
#import "BVAnnotationModel.h"

@implementation BVAnnotationView

- (instancetype)initWithAnnotation:(id<MKAnnotation>)annotation reuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithAnnotation:annotation reuseIdentifier:reuseIdentifier];
    if (self) {
        self.backgroundColor = [UIColor clearColor];
        UIImage *image = [UIImage bv_imageNamed:@"playground_basktball_icon" bundle:[BVBundle bundleWithClass:self.class name:BV_BUNDLE_HOME_SCENE_MODULE]];
        UIImageView *imageV = [[UIImageView alloc] initWithImage:image];
        [self addSubview:imageV];
    }
    return self;
}

@end
